<%--
  Created by IntelliJ IDEA.
  User: kiki
  Date: 2021/5/3
  Time: 20:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/request4" method="post">
<%--    得表明是第几个user对象的username与age--%>
    <input type="text" name="list[0].username" value="姓名" ><br>
    <input type="text" name="list[0].age" value="年龄" ><br>
    <input type="text" name="list[1].username" value="姓名" ><br>
    <input type="text" name="list[1].age" value="年龄" ><br>
    <input type="text" name="list[2].username" value="姓名" ><br>
    <input type="text" name="list[2].age" value="年龄" ><br>
    <input type="text" name="list[3].username" value="姓名" ><br>
    <input type="text" name="list[3].age" value="年龄" ><br>
    <input type="submit" value="提交">
</form>
</body>
</html>
